package cn.tedu._10bank.pojo.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Transaction {
    private Integer id;
    private Integer fromAccountId;
    private Integer toAccountId;
    private Double amount;
    private  enum type {
        DEPOSIT,
        WITHDRAW,
        TRANSFER
    }
    private Date createdAt;
}
